#define _CRT_SECURE_NO_WARNINGS 1

#include"list.h"

int main()
{
	ListNode* plist = ListInit();
	ListPushFront(plist, 1);
	ListPushFront(plist, 2);
	ListPushFront(plist, 3);
	ListPushFront(plist, 4);
	ListPushBack(plist, 5);
	ListPushBack(plist, 4);
	ListPushBack(plist, 3);
	ListPopFront(plist);
	ListPopBack(plist);
	ListPrint(plist);
	return 0;
}